package com.whmnx.home.ui.fragment;


import androidx.fragment.app.Fragment;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.whmnx.base.router.RouterFragmentPath;

import java.util.ArrayList;
import java.util.List;

/**
 * Create Author：goldze
 * Create Date：2019/01/25
 * Description：ViewPager+Fragment的实现
 * @author Administrator
 */

@Route(path = RouterFragmentPath.Home.PAGER_HOME)
public class ViewPagerGroupFragment extends BasePagerFragment {
    @Override
    protected List<Fragment> pagerFragment() {
        List<Fragment> list = new ArrayList<>();
        list.add(new GuanZhiFragment2());
        list.add(new TunJianFragment2());
        list.add(new GuanZhiFragment());
        return list;
    }

    @Override
    protected List<String> pagerTitleString() {
        List<String> list = new ArrayList<>();
        list.add("关注");
        list.add("推荐");
        list.add("直播");
        return list;
    }
}
